package com.admin.gen.mapper;

import com.admin.gen.entity.GenConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author sq-lan
 */
@Mapper
public interface GenConfigMapper extends BaseMapper<GenConfig> {

    /**
     * 按表名查找
     *
     * @param tableName 表名称
     * @return {@link GenConfig}
     */
    GenConfig getByTableName(@Param("tableName") String tableName);

}
